<!DOCTYPE html>
<html>
  <head>
    <script src="https://fb.me/react-0.14.2.js"></script>
    <script src="https://fb.me/react-dom-0.14.2.js"></script>
  </head>
  <body>
    <div id="example"></div>
    <script type="text/javascript">
      var h1 = React.createElement('h1', null, 'Hello world!')
      ReactDOM.render(
        h1,
        document.getElementById('example')
      );
      // React.render(
      //   React.createElement('h1', null, 'Hello world!'),
      //   document.getElementById('example')
      // );
      //
      // var h1 = React.createElement('h1', null, 'Hello world!')
      // React.render(
      //   React.createElement('div', null, h1, h1),
      //   document.getElementById('example')
      // );
    </script>
  </body>
</html>
